<script setup lang="ts">
definePageMeta({
  layout:false,
})
const route=useRoute()
let tripId=route.query.tripId as string || ''
let userAlias=route.query.userAlias as string || ''
onMounted(()=>{
  if(!tripId){
    history.back()
  }
})

</script>

<template>
  <ChatView
      :trip-id="tripId"
      :user-alias="userAlias"
  ></ChatView>
</template>

<style scoped>

</style>